function displayStruct(s)


for cCell = fieldnames(s)' % For all epoch definitions
    cName = cell2mat(cCell);
    disp('');
    disp([cName ':']);
    disp(s.(cName));
end

% if isstruct(s)
%     displayStructRecurse(s, 'STRUCTURE', '');
% end














end


function displayStructRecurse(s, name, prefix)

for cCell = fieldnames(s)' % For all epoch definitions
    cName = cell2mat(cCell);
    switch(class(s.(cName)))
        case 'struct'
            disp([prefix name ':'])
            displayStructRecurse(s.(cName), cName, [prefix '- - ']);
        otherwise
            disp(s);
    end
end


end